
fn int_equal(vlocation1: *const i32, vlocation2: *const i32) -> bool {
    unsafe {
        // Dereference the pointers to get the values they point to
        *vlocation1 == *vlocation2
    }
}

fn int_compare(vlocation1: *const i32, vlocation2: *const i32) -> i32 {
    unsafe {
        // Dereference the pointers to get the values they point to and compare
        match *vlocation1.cmp(&*vlocation2) {
            std::cmp::Ordering::Less => -1,
            std::cmp::Ordering::Greater => 1,
            std::cmp::Ordering::Equal => 0,
        }
    }
}

